import { View } from "../../../../mvc/core/View";
import { SeventyCopyInfoPanel } from "./SeventyCopyInfoPanel";
type int = number;
//class SeventyCopyView
    
    export  class SeventyCopyView extends View
    {
        constructor()
        {
            super();
            return;
        }

        public stageResize(): void
        {
            if (this._infoPanel && !this._infoPanel.isHide) 
            {
                this._infoPanel.updatePosition();
            }
            return;
        }

        public updateInfoPanelTime(arg1: int): void
        {
            this.infoPanel.updateTimes(arg1);
            return;
        }

        public showInfoPanel(): void
        {
            this.infoPanel.show();
            this.infoPanel.updateInfos(null);
            this.infoPanel.updatePosition();
            return;
        }

        public hideInfoPanel(): void
        {
            if (this._infoPanel) 
            {
                this.infoPanel.hide();
            }
            return;
        }

        public get infoPanel(): SeventyCopyInfoPanel
        {
            if (!this._infoPanel) 
            {
                this._infoPanel = new SeventyCopyInfoPanel();
            }
            return this._infoPanel;
        }

        /* internal */ /* var */_infoPanel: SeventyCopyInfoPanel;
    }
